<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>hehe</title>
    <script src="vue.js"></script>
</head>
<body>
    <div id="app">
        <ul>
            <li v-for="book in books">{{book.name}}</li>
        </ul>
    </div>

    <script>
        var app2 = new Vue({
            el: '#app',
            data: {
                books: [
                    {"name":"heh"},
                    {"name":"hahaha"},
                    {"name":"一本书"}
                ]
            }
        });
    </script>
</body>
</html>